function rankExal(obj) {
    $.ajax({
        type: "get",
        url: "/admin/endExam/getExamStudentRank",
        dataType: "json",
        data: {
            testNumber: $(obj).data("to")
        },
        success: function (data) {
            if (data.err == 0) {
                window.open("localhost:9023" + data.data)
            } else {
                alert(data.msg);
            }
        }
    });
}